package com.daikit.commons.shared.utils;


/**
 * <code>LabelProvider</code>'s are responsible for returning a label for a given object.
 *
 * @param <T>
 *           the type of the object for which a label will be created
 */
public interface DkLabelProvider<T>
{

	/**
	 * Returns a label for the given object.
	 *
	 * @param item
	 *           the object to get a label from
	 * @return a string value for the label.
	 */
	String getLabel(T item);

}
